package com.example.compete.service;

import com.example.compete.DTO.CompanyAndExecutiveDTO;
import com.example.compete.DTO.CompanyDTO;
import com.example.compete.DTO.DocumentTypeDTO;

import java.util.List;

public interface CompanyService {
    List<CompanyDTO> findAll();
    List<DocumentTypeDTO> findAllDocument();
    CompanyDTO findByCompanyId(String companyId);
    void updateByCompanyId(CompanyDTO companyDTO);
    CompanyDTO add(CompanyDTO companyDTO);
    void deleteCompanyAndExecutive(String companyId);
    CompanyAndExecutiveDTO selectCompanyAndExecutiveByCompanyId(String companyId);
    List<CompanyDTO> checkCompany(CompanyDTO companyDTO);
}
